{extend name="base" /}
{block name='css'}
<style>
.tbr-h{height:30px;line-height:30px;}
</style>
{/block}
{block name="js"}
<script src="__INDEX__/sales/sales.js?v={$v}" type="text/javascript"></script>
{/block}
{block name="main"}
<div class="l-loading" style="display: block" id="htr-loading"></div>
<div class="htr-toolbar">
	<div class='f-left tbr-m'>月份：</div>
	<select id="month" name='month' class='j-ipt'>
	  <option value="">-请选择-</option>    
	  {volist name="monarr" id="vo"}
	  <option value="{$vo}">{$vo}</option>
	  {/volist}
	</select> 
	<div class='f-left tbr-m'>日期：</div>
	<input type="text" style="margin:0px;vertical-align:baseline;" id="createTime" name="createTime" class="j-ipt" maxLength="20"  />
	<div class='f-left tbr-m'>产品名称：</div>
	<input type="text" name="goodsName" id="goodsName" class='j-ipt'/>
	<div class='f-left tbr-m'>所在店铺：</div>
	<select id="shopId" name='shopId' class='j-ipt'>
	  <option value="">-请选择-</option>    
	  {volist name="shopList" id="vo"}
	  <option value="{$key}">{$vo}</option>
	  {/volist}
	</select> 
	<button class="btn btn-blue" onclick='javascript:loadGrid()'>查询</button>
	<div style='clear:both'></div>
</div>
<div id="maingrid"></div>
<script>
$(function(){
	$("#createTime").ligerDateEditor();
	initGrid();
})
</script>
{/block}